<html>
    <head>
        <meta charset = "UTF-8">
    </head>
    <body>
       <button onclick="getImage()">访问相册</button>
       <script>
           
           function getImage(){
               window.location.href = 'xmg://getImage';
           }
           
           </script>
       
       
    </body>




</html>